.class public Lcom/netease/newsreader/activity/ShowWholeComment;
.super Lcom/netease/newsreader/activity/BaseActivity;
.source "ShowWholeComment.java"


# instance fields
.field private addone:Landroid/widget/TextView;

.field private boardId:Ljava/lang/String;

.field private bottomin:Landroid/view/animation/Animation;

.field private commentType:Ljava/lang/String;

.field private commentsLayout:Landroid/widget/LinearLayout;

.field private handler:Landroid/os/Handler;

.field private layout:Landroid/view/View;

.field private mInflater:Landroid/view/LayoutInflater;

.field private mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

.field private p:Ljava/lang/String;

.field private pWindow:Landroid/widget/PopupWindow;

.field private postId:Ljava/lang/String;

.field private upout:Landroid/view/animation/Animation;

.field private votetext:Landroid/widget/TextView;

.field private wholeComments:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 26
    invoke-direct {p0}, Lcom/netease/newsreader/activity/BaseActivity;-><init>()V

    .line 29
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->p:Ljava/lang/String;

    .line 30
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->boardId:Ljava/lang/String;

    .line 31
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->postId:Ljava/lang/String;

    .line 32
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->commentType:Ljava/lang/String;

    .line 34
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->wholeComments:Ljava/util/HashMap;

    .line 257
    new-instance v0, Lcom/netease/newsreader/activity/ShowWholeComment$1;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/ShowWholeComment$1;-><init>(Lcom/netease/newsreader/activity/ShowWholeComment;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->handler:Landroid/os/Handler;

    .line 26
    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/ShowWholeComment;)Landroid/widget/LinearLayout;
    .locals 1
    .parameter

    .prologue
    .line 35
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$1(Lcom/netease/newsreader/activity/ShowWholeComment;)Ljava/util/HashMap;
    .locals 1
    .parameter

    .prologue
    .line 34
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->wholeComments:Ljava/util/HashMap;

    return-object v0
.end method

.method static synthetic access$10(Lcom/netease/newsreader/activity/ShowWholeComment;)Landroid/widget/TextView;
    .locals 1
    .parameter

    .prologue
    .line 41
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->addone:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$11(Lcom/netease/newsreader/activity/ShowWholeComment;)Landroid/view/animation/Animation;
    .locals 1
    .parameter

    .prologue
    .line 39
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->upout:Landroid/view/animation/Animation;

    return-object v0
.end method

.method static synthetic access$2(Lcom/netease/newsreader/activity/ShowWholeComment;)Landroid/widget/LinearLayout;
    .locals 1
    .parameter

    .prologue
    .line 36
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->commentsLayout:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$3(Lcom/netease/newsreader/activity/ShowWholeComment;)Landroid/view/LayoutInflater;
    .locals 1
    .parameter

    .prologue
    .line 28
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->mInflater:Landroid/view/LayoutInflater;

    return-object v0
.end method

.method static synthetic access$4(Lcom/netease/newsreader/activity/ShowWholeComment;Ljava/util/List;Landroid/widget/LinearLayout;Landroid/view/LayoutInflater;)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 193
    invoke-direct {p0, p1, p2, p3}, Lcom/netease/newsreader/activity/ShowWholeComment;->getCommentsBuilding(Ljava/util/List;Landroid/widget/LinearLayout;Landroid/view/LayoutInflater;)V

    return-void
.end method

.method static synthetic access$5(Lcom/netease/newsreader/activity/ShowWholeComment;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 30
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->boardId:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$6(Lcom/netease/newsreader/activity/ShowWholeComment;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 31
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->postId:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$7(Lcom/netease/newsreader/activity/ShowWholeComment;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 29
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->p:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$8(Lcom/netease/newsreader/activity/ShowWholeComment;Ljava/util/HashMap;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 34
    iput-object p1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->wholeComments:Ljava/util/HashMap;

    return-void
.end method

.method static synthetic access$9(Lcom/netease/newsreader/activity/ShowWholeComment;)Landroid/os/Handler;
    .locals 1
    .parameter

    .prologue
    .line 257
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->handler:Landroid/os/Handler;

    return-object v0
.end method

.method private fillFloor(Landroid/widget/LinearLayout;Ljava/util/List;I)V
    .locals 5
    .parameter "v"
    .parameter
    .parameter "index"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/LinearLayout;",
            "Ljava/util/List",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;I)V"
        }
    .end annotation

    .prologue
    .local p2, list:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 185
    invoke-virtual {p1, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 186
    invoke-interface {p2, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/HashMap;

    const-string v2, "f"

    invoke-virtual {v1, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 187
    invoke-virtual {p1, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v4}, Landroid/widget/RelativeLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 188
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v2

    sub-int/2addr v2, p3

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 189
    invoke-virtual {p1, v4}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-interface {p2, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/HashMap;

    .line 190
    const-string v2, "b"

    invoke-virtual {v1, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    .line 189
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 191
    return-void
.end method

.method private findViewsById()V
    .locals 4

    .prologue
    const/4 v3, -0x2

    .line 123
    const-string v1, "layout_inflater"

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowWholeComment;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    .line 124
    .local v0, inflater:Landroid/view/LayoutInflater;
    const v1, 0x7f030014

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->layout:Landroid/view/View;

    .line 125
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->layout:Landroid/view/View;

    const v2, 0x7f0c005f

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->addone:Landroid/widget/TextView;

    .line 126
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->layout:Landroid/view/View;

    const v2, 0x7f0c0060

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->votetext:Landroid/widget/TextView;

    .line 127
    new-instance v1, Landroid/widget/PopupWindow;

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->layout:Landroid/view/View;

    invoke-direct {v1, v2, v3, v3}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->pWindow:Landroid/widget/PopupWindow;

    .line 129
    const v1, 0x7f040003

    invoke-static {p0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v1

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->bottomin:Landroid/view/animation/Animation;

    .line 130
    const v1, 0x7f04001a

    invoke-static {p0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v1

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->upout:Landroid/view/animation/Animation;

    .line 131
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ShowWholeComment;->setAnimations()V

    .line 132
    return-void
.end method

.method private getCommentsBuilding(Ljava/util/List;Landroid/widget/LinearLayout;Landroid/view/LayoutInflater;)V
    .locals 10
    .parameter
    .parameter "commentsLayout"
    .parameter "mInflater"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;",
            "Landroid/widget/LinearLayout;",
            "Landroid/view/LayoutInflater;",
            ")V"
        }
    .end annotation

    .prologue
    .local p1, list:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    const/4 v9, 0x1

    .line 196
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v5

    .line 197
    .local v5, len:I
    if-lez v5, :cond_0

    .line 200
    const/4 v6, 0x1

    :try_start_0
    invoke-virtual {p2, v6}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    .line 199
    check-cast v0, Landroid/widget/LinearLayout;

    .line 202
    .local v0, commentsContentLayout:Landroid/widget/LinearLayout;
    const/4 v6, 0x0

    invoke-virtual {p2, v6}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/RelativeLayout;

    .line 203
    const/4 v7, 0x0

    invoke-virtual {v6, v7}, Landroid/widget/RelativeLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v6

    .line 202
    check-cast v6, Landroid/widget/TextView;

    .line 203
    const/4 v7, 0x0

    invoke-interface {p1, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Ljava/util/HashMap;

    .line 204
    const-string v8, "f"

    invoke-virtual {v7, v8}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    .line 203
    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 206
    const/4 v6, 0x0

    invoke-virtual {p2, v6}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/RelativeLayout;

    .line 207
    const/4 v7, 0x1

    invoke-virtual {v6, v7}, Landroid/widget/RelativeLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v6

    .line 206
    check-cast v6, Landroid/widget/TextView;

    .line 207
    const/4 v7, 0x0

    invoke-interface {p1, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Ljava/util/HashMap;

    const-string v8, "t"

    invoke-virtual {v7, v8}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 209
    const/4 v6, 0x0

    invoke-virtual {v0, v6}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    .line 210
    const/4 v7, 0x0

    invoke-interface {p1, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Ljava/util/HashMap;

    const-string v8, "b"

    invoke-virtual {v7, v8}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    .line 209
    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 215
    move-object v4, v0

    .line 217
    .local v4, layout:Landroid/widget/LinearLayout;
    if-le v5, v9, :cond_0

    .line 219
    const/4 v2, 0x0

    .line 221
    .local v2, floor:Landroid/widget/LinearLayout;
    const/4 v3, 0x1

    .local v3, i:I
    :goto_0
    if-lt v3, v5, :cond_1

    .line 238
    .end local v0           #commentsContentLayout:Landroid/widget/LinearLayout;
    .end local v2           #floor:Landroid/widget/LinearLayout;
    .end local v3           #i:I
    .end local v4           #layout:Landroid/widget/LinearLayout;
    :cond_0
    :goto_1
    return-void

    .line 224
    .restart local v0       #commentsContentLayout:Landroid/widget/LinearLayout;
    .restart local v2       #floor:Landroid/widget/LinearLayout;
    .restart local v3       #i:I
    .restart local v4       #layout:Landroid/widget/LinearLayout;
    :cond_1
    const v6, 0x7f030010

    const/4 v7, 0x0

    .line 223
    invoke-virtual {p3, v6, v7}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    .end local v2           #floor:Landroid/widget/LinearLayout;
    check-cast v2, Landroid/widget/LinearLayout;

    .line 225
    .restart local v2       #floor:Landroid/widget/LinearLayout;
    invoke-direct {p0, v2, p1, v3}, Lcom/netease/newsreader/activity/ShowWholeComment;->fillFloor(Landroid/widget/LinearLayout;Ljava/util/List;I)V

    .line 226
    const/4 v6, 0x0

    invoke-virtual {v4, v2, v6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;I)V

    .line 227
    const/4 v6, 0x6

    if-ge v3, v6, :cond_2

    .line 228
    const/4 v6, 0x0

    invoke-virtual {v4, v6}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    .end local v4           #layout:Landroid/widget/LinearLayout;
    check-cast v4, Landroid/widget/LinearLayout;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 221
    .restart local v4       #layout:Landroid/widget/LinearLayout;
    :cond_2
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 233
    .end local v0           #commentsContentLayout:Landroid/widget/LinearLayout;
    .end local v2           #floor:Landroid/widget/LinearLayout;
    .end local v3           #i:I
    .end local v4           #layout:Landroid/widget/LinearLayout;
    :catch_0
    move-exception v1

    .line 235
    .local v1, e:Ljava/lang/Exception;
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_1
.end method

.method private setAnimations()V
    .locals 2

    .prologue
    .line 135
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->bottomin:Landroid/view/animation/Animation;

    new-instance v1, Lcom/netease/newsreader/activity/ShowWholeComment$3;

    invoke-direct {v1, p0}, Lcom/netease/newsreader/activity/ShowWholeComment$3;-><init>(Lcom/netease/newsreader/activity/ShowWholeComment;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 159
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->upout:Landroid/view/animation/Animation;

    new-instance v1, Lcom/netease/newsreader/activity/ShowWholeComment$4;

    invoke-direct {v1, p0}, Lcom/netease/newsreader/activity/ShowWholeComment$4;-><init>(Lcom/netease/newsreader/activity/ShowWholeComment;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 181
    return-void
.end method


# virtual methods
.method public onCreate(Landroid/os/Bundle;)V
    .locals 3
    .parameter "savedInstanceState"

    .prologue
    .line 48
    invoke-super {p0, p1}, Lcom/netease/newsreader/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 49
    const/4 v1, 0x1

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowWholeComment;->requestWindowFeature(I)Z

    .line 51
    const v1, 0x7f030064

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowWholeComment;->setContentView(I)V

    .line 52
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ShowWholeComment;->findViewsById()V

    .line 54
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/ShowWholeComment;->getIntent()Landroid/content/Intent;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    .line 55
    .local v0, bundle:Landroid/os/Bundle;
    if-eqz v0, :cond_0

    .line 56
    const-string v1, "p"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->p:Ljava/lang/String;

    .line 57
    const-string v1, "replyBoard"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->boardId:Ljava/lang/String;

    .line 58
    const-string v1, "postid"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->postId:Ljava/lang/String;

    .line 60
    :cond_0
    const-string v1, "layout_inflater"

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowWholeComment;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/view/LayoutInflater;

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->mInflater:Landroid/view/LayoutInflater;

    .line 61
    const v1, 0x7f0c0148

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowWholeComment;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->commentsLayout:Landroid/widget/LinearLayout;

    .line 62
    const v1, 0x7f0c00ce

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowWholeComment;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

    .line 65
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->boardId:Ljava/lang/String;

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->postId:Ljava/lang/String;

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->p:Ljava/lang/String;

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    .line 66
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 67
    new-instance v1, Lcom/netease/newsreader/activity/ShowWholeComment$2;

    invoke-direct {v1, p0}, Lcom/netease/newsreader/activity/ShowWholeComment$2;-><init>(Lcom/netease/newsreader/activity/ShowWholeComment;)V

    .line 72
    invoke-virtual {v1}, Lcom/netease/newsreader/activity/ShowWholeComment$2;->start()V

    .line 108
    :cond_1
    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .prologue
    .line 113
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onDestroy()V

    .line 114
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->pWindow:Landroid/widget/PopupWindow;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->pWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 115
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowWholeComment;->pWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->dismiss()V

    .line 117
    :cond_0
    return-void
.end method
